package com.mingke.java.params;

import java.util.Date;

/**
 * 简单备份
 */
public class SimpleOperationParams extends OperationBaseParams {

    /**
     * 备份类型，1表示按时间点操作之后的数据，2表示操作最近的N条数据
     */
    private Integer type;

    /**
     * 时间字段名
     */
    private String columnName;

    /**
     * 时间值
     */
    private Date date;

    /**
     * 最近的记录条数
     */
    private Integer num;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public SimpleOperationParams() {
    }
}
